<include file="Footprint:header"/>
<include file="Footprint:share_header"/>
</head>

<body>
<div class="wraper">
    <include file="Activity:Footprint:popbox"/>
    <div class="top bg-color8">
        <div class="logobox fl-left">
            <img class="logo1" src="/assets/activity/footprint/images/logo1.png"/>
            <img class="logo2" src="/assets/activity/footprint/images/logo2.png"/>
        </div>
        <div class="title fl-left">杭州市民体验日预约线路</div>
        <div class="rule fl-left" id="app-rule">活动规则</div>
    </div>
    <div class="search">
        <span class="iconfont icon-sousuo"></span>
        <input type="text" placeholder="搜索感兴趣的场馆，预约城市体验之旅!" id="dataInput"/>
    </div>
    <if condition="$data">
    <volist name="data" id="vo">
    <if condition="$i eq 1"><span class="main-theme bg-color{BEESCRM:$vo.class}">{BEESCRM:$vo.color_value} {BEESCRM:$vo.theme}</span></if>
    <div class="route-box">
        <a href="{BEESCRM::U('/Activity/Footprint/appLineDetail',array('wechat_id'=>$wechat_id,'act_id'=>$act_id,'line_id'=>$vo['line_id'],'class'=>$vo['color_class'],'color_id'=>$vo['color_id']))}" class="route-top clearfix"><span class="iconfont icon-biaoqian text-color{BEESCRM:$vo.class}"></span> {BEESCRM:$vo.name}<span class="iconfont icon-youjiantou text-color{BEESCRM:$vo.class} fl-right"></span></a>
        <div class="route"><span class="line"></span></div>
        <div class="route clearfix">
        	<volist name="vo['Point']" id="v">
            <div class="place-list fl-left"><span class="ring fl-left border-color8"></span>{BEESCRM:$v.name}</div>
            </volist>
        </div>
    </div>
    </volist>
    <else/>
    <p class="seek text-color9 fl-left">这里还没有纳入我们的体验路线，找到你的城市颜色，加入足迹体验之旅吧</p>
    <a href="{BEESCRM::U('/Activity/Footprint/test',array('wechat_id'=>$wechat_id,'act_id'=>$act_id,'route'=>3,'origin'=>'test'))}" class="btn fl-left bg-color9" style="margin-left: 25%;">寻找我的城市颜色</a>
    </if>
</div>

<script src="/assets/activity/footprint/js/jquery-2.1.0.min.js"></script>
<script language="javascript" type="text/javascript">
    $(function(){
        $('#dataInput').bind('keypress',function(event){
            if(event.keyCode == "13")    
            {
                var name=$('#dataInput').val();
                var act_id={BEESCRM:$act_id};
                var wechat_id={BEESCRM:$wechat_id};
                if(name == ''){
            		infotips('请输入体验点名称',$('.submit_tips'));
            		return false;
            	}else{
            		window.location.href="/Activity/Footprint/appLine/route/2/wechat_id/"+wechat_id+"/act_id/"+act_id+"/name/"+name;
            	}
            }
        });
    });
</script>
</body>

</html>
